/**
 * Thread
 *
 * header for creating threads
 * meer informatie in thread.cpp
 *
 * @author Jasper Nevens <jasper@nevensit.be>
 * @date    19/02/11
 */
#ifndef THREAD_H_
#define	THREAD_H_

#include <pthread.h>


class Thread {
public:
	void start();
	virtual void execute();
	void wait_for_exit();
private:
	pthread_t handle;
};

int mutex_lock(pthread_mutex_t* __mutex);
int mutex_unlock(pthread_mutex_t* __mutex);

#endif /* THREAD_H_ */
